package com.gne.data.platform.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "article")
public class Article implements Serializable {

    @Id
    private String id;

    private String title;

    private String description;

    private String by;

    private String url;

}